package com.jiahui.adapter;

import java.util.List;

import com.jiahui.model.Account;
import com.jiahui.model.Income;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class CurrentIncomeListAdapter extends BaseAdapter {

	
	private List<Income> incomes;
	
	private Context context;
	
	public CurrentIncomeListAdapter(Context context,List<Income> incomes) {

		this.context=context;
		this.incomes=incomes;
	
	
	}
	
	public int getCount() {
		return incomes.size();
	}

	public Object getItem(int arg0) {
		return incomes.get(arg0);
	}

	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	public View getView(int i, View view, ViewGroup viewGroup) {
		
		
		
		
		return view;
	}

}
